import Layout from '@/layouts';

export default [
  {
    path: '/user',
    name: 'User',
    component: Layout,
    redirect: '/user/list',
    meta: { title: '用户管理', icon: 'usergroup' },
    children: [
      {
        path: 'list',
        name: 'UserList',
        component: () => import('@/pages/user/index.vue'),
        meta: { title: '用户列表' },
      },
      {
        path: 'stager',
        name: 'StagerList',
        component: () => import('@/pages/user/stager/index.vue'),
        meta: { title: '达人列表' },
      },
      {
        path: 'audit',
        name: 'AuditList',
        component: () => import('@/pages/user/audit/index.vue'),
        meta: { title: '审核列表' },
      },
      {
        path: 'filter',
        name: 'ListFilter',
        component: () => import('@/pages/user/black-list/index.vue'),
        meta: { title: '黑名单列表' },
      },
    ],
  },
];
